package com.ruoyi.supermarket.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.supermarket.domain.Vo.ShCPay;
import com.ruoyi.supermarket.domain.Vo.ShXPay;
import com.ruoyi.supermarket.domain.Yfpay;
import com.ruoyi.supermarket.domain.Yspay;

/**
 * 应收汇总Service接口
 * 
 * @author ruoyi
 * @date 2024-05-30
 */
public interface IYspayService 
{
    /**
     * 查询应收汇总
     * 
     * @param yspayId 应收汇总主键
     * @return 应收汇总
     */
    public Yspay selectYspayByYspayId(Long yspayId);

    /**
     * 查询应收汇总列表
     * 
     * @param yspay 应收汇总
     * @return 应收汇总集合
     */
    public List<Yspay> selectYspayList(Yspay yspay);

    /**
     * 新增应收汇总
     * 
     * @param yspay 应收汇总
     * @return 结果
     */
    public int insertYspay(Yspay yspay);

    /**
     * 修改应收汇总
     * 
     * @param yspay 应收汇总
     * @return 结果
     */
    public int updateYspay(Yspay yspay);

    /**
     * 批量删除应收汇总
     * 
     * @param yspayIds 需要删除的应收汇总主键集合
     * @return 结果
     */
    public int deleteYspayByYspayIds(Long[] yspayIds);

    /**
     * 删除应收汇总信息
     * 
     * @param yspayId 应收汇总主键
     * @return 结果
     */
    public int deleteYspayByYspayId(Long yspayId);

    AjaxResult audit(ShXPay shxPay);

    AjaxResult hxPay(Yspay yspay);

    AjaxResult fzd(Yspay yspay);

    List<Yspay> selectYspayListFzd(Yspay yspay);

    AjaxResult fsh(Long yspayId);
}
